// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_fk.p_a;

import com.nnee.p_fk.p_b.*;
import java.util.Hashtable;
import java.util.Vector;

// Referenced classes of package com.nnee.p_fk.a:
//            c, m, a

public class cls_l extends com.nnee.p_fk.p_b.cls_f
    implements  com.nnee.p_fk.p_a.cls_c 
{

    public cls_l(com.nnee.p_fk.p_b.cls_c c1, com.nnee.p_fk.p_a.cls_a a1)
    {
        super(c1);
        c = new Hashtable();
        d = new Hashtable();
        e = a1;
    }

    private void a(cls_m m1, Object obj, int i, int j)
    {
        Integer integer = new Integer(m1.i());
        com.nnee.p_fk.p_b.cls_a a1;
        synchronized(c)
        {
            a1 = (com.nnee.p_fk.p_b.cls_a)c.remove(integer);
            if(a1 != null)
                d.remove(new Integer(a1.m()));
        }
        if(a1 != null)
        {
            com.nnee.p_fk.p_b.cls_b b1 = a1.a(obj, i, j);
            this.a.a(b1);
        }
        return;
         
    }

    private void a(Vector vector, Object obj, int i, int j)
    {
        Vector vector1 = new Vector();
        Hashtable hashtable = c;
         
        int k = 0;
while (true)
{
        if(k < vector.size())
        {
            cls_m m1 = (cls_m)vector.elementAt(k);
            com.nnee.p_fk.p_b.cls_a a1 = (com.nnee.p_fk.p_b.cls_a)c.remove(new Integer(m1.i()));
            if(a1 != null)
            {
                d.remove(new Integer(a1.m()));
                vector1.add(a1);
            }
            break;
        }

        k++;
}
        if(vector1.size() > 0)
        {
            com.nnee.p_fk.p_b.cls_b b1 = ((com.nnee.p_fk.p_b.cls_a)vector1.elementAt(0)).a(vector1, obj, i, j);
            this.a.a(b1);
        }
        return;
        
    }

    public void a()
    {
        synchronized(c)
        {
            c.clear();
            d.clear();
        }
        if(e != null)
            e.a();
        return;
       
    }

    public void a(int i, int j)
    {
        e.a(i, j);
    }

    public void a(cls_m m1, int i, Object obj)
    {
        a(m1, obj, 1, i);
    }

    public void a(cls_m m1, Object obj)
    {
        a(m1, obj, 0, 0);
    }

    public void a(com.nnee.p_fk.p_b.cls_a a1)
    {
        Integer integer = new Integer(a1.m());
        Hashtable hashtable = c;
     
        cls_m m1 = (cls_m)d.remove(integer);
        if(m1 != null)
        {
            Integer integer1 = new Integer(m1.i());
            m1.r();
            c.remove(integer1);
        }
        return;
    }

    public void a(Class class1)
    {
        if(class1 != null)
            e.a(class1);
    }

    public void a(Object obj, com.nnee.p_fk.p_b.cls_a a1)
    {
        if(obj != null && (obj instanceof cls_m))
        {
            cls_m m1 = (cls_m)obj;
            if(a1 == null)
            {
                m1.b(0);
                e.a(m1, 0);
            } else
            {
                Integer integer = new Integer(m1.i());
                Integer integer1 = new Integer(a1.m());
                m1.a(this);
                m1.b(0xff & a1.j());
                synchronized(c)
                {
                    c.put(integer, a1);
                    d.put(integer1, m1);
                }
                e.a(m1, a1.j());
            }
        }
        return;
        
    }

    public void a(Vector vector, int i, Object obj)
    {
        a(vector, obj, 1, i);
    }

    public void a(Vector vector, Object obj)
    {
        a(vector, obj, 0, 0);
    }

    static final String b = "HttpDataChannel";
    Hashtable c;
    Hashtable d;
    com.nnee.p_fk.p_a.cls_a e;
	 
}
